<div class="_contro">
<?php if($coupon['status']==1){?>
    <a href="/home/coupon/" class="_a"><font class="_font">返回</font></a>
<?php }else{?>  
    <a href="/home/coupon/release?coupon_id=<?php echo $coupon['id'];?>" onclick='' class="_a"><font class="_font maskLayer">发布</font></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    <a href="/home/coupon/create?coupon_id=<?php echo $coupon['id'];?>" class="_a"><font class="_font">返回</font></a>
<?php }?>
</div>
<div class='_cut'></div>
    <div style='margin-left:30rem;margin-right:45rem;'>
        <div style='text-align:center;font-size:2.2rem;'><?php echo $coupon['name'] ?></div>
        <div class='_line'></div>
        <img src="<?php echo $coupon['style'];?>" />
    </div>

    <div style='margin-left:45rem;font-size:2.5rem;'>
        共 <span style='color:red'><?php if($coupon['num'] == -1){ echo '不限';}else{echo $coupon['num'];}?></span> 张
    </div>            
    <div class='_line' ></div>
    <div style='margin-left:30rem;' > 
        <div>所属门店：<?php echo $store['name'];?></div>
        <div>开始时间：<?php echo date('Y-m-d',$coupon['start_time']); ?> </div>
        <div>结束时间：<?php echo date('Y-m-d',$coupon['end_time']); ?> </div>
        <div>说明：<?php echo $coupon['intro']; ?></div>
    </div> 